CommonEvent 9010
Name = "グランゴルド王仲間に"

  SetMoveRoute([93, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=16, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
  Unnamed(["RPG::MoveCommand(@code=16, @parameters=[])"])
  ShowPicture([5, "80_grangold_st11b", 0, 0, 0, 0, 100, 100, 0, 0])
  MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
  ShowTextAttributes(["grangold_fc2", 0, 0, 2])
  ShowText(["\\n<King of Grangold>"])
  ShowText(["Oh, you all are..."])
  ShowTextAttributes(["ruka_fc1", 0, 0, 2])
  ShowText(["\\n<Luka>"])
  ShowText(["No way, it's the King of Grangold!?"])
  ShowText(["To think you were captured here..."])
  ShowTextAttributes(["", 0, 0, 2])
  ShowText(["The King of Grangold was scattered during the collapse of Pocket Castle—"])
  ShowText(["but it seems you have returned to this castle."])
  ShowTextAttributes(["grangold_fc2", 0, 0, 2])
  ShowText(["\\n<King of Grangold>"])
  ShowText(["I teamed up with Sariela and fought against Kanon."])
  ShowText(["But I was not strong enough, and now I'm a captive."])
  ShowTextAttributes(["", 0, 0, 2])
  ShowText(["Speaking of which, I heard that a mysterious monster was rampaging on Sariela's side—"])
  ShowText(["that monster was the King of Grangold."])
  ConditionalBranch([1, 1301, 0, 7, 2])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["Now, I will open this place."])
    ShowText(["Let's fight Kanon together!"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 1301, 0, 8, 1])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["Kanon has already been driven out of Grangold."])
    ShowText(["Now, I will open this place."])
    Empty([])

  BranchEnd([])
  PlaySE(["RPG::SE(@name=\"Open3\", @pitch=100, @volume=80)"])
  FadeoutScreen([])
  ErasePicture([5])
  TransferPlayer([0, 164, 3, 8, 8, 2])
  SetMoveRoute([100, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=39, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
  Unnamed(["RPG::MoveCommand(@code=39, @parameters=[])"])
  SetMoveRoute([107, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=39, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
  Unnamed(["RPG::MoveCommand(@code=39, @parameters=[])"])
  SetMoveRoute([93, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=16, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
  Unnamed(["RPG::MoveCommand(@code=16, @parameters=[])"])
  FadeinScreen([])
  ShowTextAttributes(["grangold_fc2", 0, 0, 2])
  ShowText(["\\n<King of Grangold>"])
  ShowText(["Thank you for helping me."])
  ShowText(["Let's take back this castle from Kanon."])
  SetMoveRoute([93, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=37, @parameters=[])\", \"RPG::MoveCommand(@code=10, @parameters=[])\", \"RPG::MoveCommand(@code=39, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
  Unnamed(["RPG::MoveCommand(@code=37, @parameters=[])"])
  Unnamed(["RPG::MoveCommand(@code=10, @parameters=[])"])
  Unnamed(["RPG::MoveCommand(@code=39, @parameters=[])"])
  Script(["add_actor_ex(535)"])
  ConditionalBranch([1, 912, 0, 0, 0])
    Script(["level_adjust(535,115)"])
    ScriptMore(["set_class_level(535, 22, 10, false, false)"])
    ScriptMore(["set_class_level(535, 30, 10, false, false)"])
    ScriptMore(["set_class_level(535, 35, 10, false, false)"])
    ScriptMore(["set_class_level(535, 36, 10, false, false)"])
    ScriptMore(["set_class_level(535, 37, 10, false, false)"])
    ScriptMore(["set_class_level(535, 38, 10, false, false)"])
    ScriptMore(["set_class_level(535, 39, 10, false, false)"])
    ScriptMore(["set_class_level(535, 45, 10, false, false)"])
    ScriptMore(["set_class_level(535, 46, 10, false, false)"])
    ScriptMore(["set_class_level(535, 48, 10, false, false)"])
    ScriptMore(["set_class_level(535, 105, 10, false, false)"])
    Script(["set_class_level(535, 136, 10, false, false)"])
    ScriptMore(["set_class_level(535, 7018, 15, false, false)"])
    ScriptMore(["set_class_level(535, 7019, 15, false, false)"])
    ScriptMore(["set_class_level(535, 7023, 15, false, false)"])
    ScriptMore(["set_class_level(535, 7050, 15, false, true)"])
    ScriptMore(["set_class_level(535, 355, 10, false, false)"])
    ScriptMore(["set_class_level(535, 356, 10, false, false)"])
    ScriptMore(["set_class_level(535, 357, 10, false, false)"])
    ScriptMore(["set_class_level(535, 358, 10, false, false)"])
    ScriptMore(["set_class_level(535, 361, 20, false, true)"])
    Empty([])

  BranchEnd([])
  RecoverAll([0, 535])
  PlayME(["RPG::ME(@name=\"fanfale\", @pitch=100, @volume=100)"])
  ShowTextAttributes(["", 0, 0, 2])
  ShowText(["The King of Grangold has joined the party!"])
  ControlSwitches([3058, 3058, 0])
  Wait([60])
  ShowTextAttributes(["grangold_fc2", 0, 0, 2])
  ShowText(["\\n<King of Grangold>"])
  ShowText(["Once again, nice to meet you."])
  ShowText(["Now, let us fight together!"])
  ShowTextAttributes(["rucyfina_fc2", 0, 0, 2])
  ShowText(["\\n<Lucifina>"])
  ShowText(["What a surprisingly polite monster."])
  ShowText(["By the way, aren't you going to defeat it...?"])
  ShowTextAttributes(["ruka_fc1", 0, 0, 2])
  ShowText(["\\n<Luka>"])
  ShowText(["Were you really listening, Mom!?"])
  ShowText(["It's the king of Grangold!!"])
  ConditionalBranch([0, 1026, 0])
    ShowTextAttributes(["iriasu_fc4", 2, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["Lucifina isn't really listening."])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1027, 0])
    ShowTextAttributes(["iriasu_fc1", 0, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["Lucifina isn't really listening."])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1028, 0])
    ShowTextAttributes(["iriasu_fc3", 0, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["Lucifina isn't really listening."])
    Empty([])

  BranchEnd([])
  ShowTextAttributes(["ruka_fc1", 0, 0, 2])
  ShowText(["\\n<Luka>"])
  ShowText(["Our mom is some kind of berserker or something..."])
  ShowTextAttributes(["grangold_fc2", 0, 0, 2])
  ShowText(["\\n<King of Grangold>"])
  ShowText(["It's something even more terrifying."])
  ShowText(["The alarm in my head hasn't stopped since earlier."])
  ConditionalBranch([1, 1301, 0, 6, 2])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["In any case, we have rescued the King of Grangold."])
    ShowText(["Let's rescue Sariela and challenge Kanon—"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 1301, 0, 7, 0])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["In any case, we have rescued the King of Grangold."])
    ShowText(["Let's head to the top floor and challenge Kanon—"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 1301, 0, 8, 1])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["In any case, we have rescued the King of Grangold."])
    ShowText(["The governance of this land will progress more smoothly now――"])
    Empty([])

  BranchEnd([])
  ExitEventProcessing([])
  Empty([])
